package com.shycloud.mido.homework.constant;

/**
 * 常量类
 */
public class Constant {

	/** 逻辑删除 */
	public static final String DEL_FLAG = "0";
	public static final String DEL_FLAG_DELETE = "1";
	/** sql时间追加 */
	public static final String SQL_APPLY_START_TIME = "00:00:00";
	public static final String SQL_APPLY_END_TIME = "23:59:59";

	/** 状态 0未计算 */
	public static final String WEEK_MAIN_STATUS_UNCALC = "0";
	/** 状态 1计算中 */
	public static final String WEEK_MAIN_STATUS_CALCING = "1";
	/** 状态 2完成 */
	public static final String WEEK_MAIN_STATUS_CALCSUCCESS = "2";
	/** 状态 3失败 */
	public static final String WEEK_MAIN_STATUS_CALCERROR = "3";

	/** 1 周报 */
	public static final Integer WEEK_MAIN_STEP_START = 1;
	/** 2 解析 */
	public static final Integer WEEK_MAIN_STEP_RESOLVE = 2;
	/** 3 人员 */
	public static final Integer WEEK_MAIN_STEP_MEMBER = 3;
	/** 4 预处理完成 */
	public static final Integer WEEK_MAIN_STEP_EXEC_DONE = 4;
	/** 5 发送 */
	public static final Integer WEEK_MAIN_STEP_SEND = 5;
	/** 6 发送完成 */
	public static final Integer WEEK_MAIN_STEP_SEND_DONE = 6;
	/** 9 处理失败 */
	public static final Integer WEEK_MAIN_STEP_FAIL = 9;

	/** 批处理大小 */
	public static final Integer BATCH_SIZE = 1000;
	/** 推送标识 */
	public static final String WEEK_PUSH_FLAG_WAIT = "0";
	public static final String WEEK_PUSH_FLAG_SUCCESS = "1";
	public static final String WEEK_PUSH_FLAG_UNABLE = "2";
	public static final String WEEK_PUSH_FLAG_ERROR = "3";
	/** 作业数据查询规则 */
	public static final String STU_MULTI_TARGET_RULE = "true_1_1_all";
	public static final String STU_MULTI_TEA_ALL_RULE = "true_1_0_all";
	public static final String STU_MULTI_TEA_ONE_RULE = "true_1_0_one";
	public static final String STU_ONE_TARGET_RULE = "true_0_1_one";
	public static final String STU_ONE_TEA_ONE_RULE = "true_0_0_one";
	public static final String TEA_MULTI_STU_ONE_RULE = "false_1_0_one";
	public static final String TEA_ONE_STU_ONE_RULE = "false_0_0_one";

}
